package converter;

public class Monnaie {
	private String Nom;
	private int Val;
	private double Taux;
	
	
	public Monnaie(String name, int montant, double taux){
		this.setNom(name);
		this.setVal(montant);
		this.setTaux(taux);
	}
	
	public double convertir(int montant, double taux){
		double result;
		result = montant * taux;
		return result;
	}


	/**
	 * @return the nom
	 */
	public String getNom() {
		return Nom;
	}


	/**
	 * @param nom the nom to set
	 */
	public void setNom(String nom) {
		Nom = nom;
	}


	/**
	 * @return the val
	 */
	public int getVal() {
		return Val;
	}


	/**
	 * @param val the val to set
	 */
	public void setVal(int val) {
		Val = val;
	}


	/**
	 * @return the taux
	 */
	public double getTaux() {
		return Taux;
	}


	/**
	 * @param taux the taux to set
	 */
	public void setTaux(double taux) {
		Taux = taux;
	}

}
